package com.phoenix.jsef.basedata.pojo;

import com.phoenix.jsef.framework.Entity;
import com.phoenix.jsef.framework.annotations.EntityAttribute;
import java.util.Date;

 /**   
 * @ClassName: CBaseDeptEntity  
 * @Description:TODO(该类为数据中 表:base_dept 对应的商业实体类.)   
 * @author: 李启联
 * @date:   2019-8-6 16:41:32  
 * @version V1.0     
 * @Copyright: Copyright (c) 2018
 * 申明：本内容未经作者本人同意,禁止外泄以及用于其他的商业项目.
 */
@EntityAttribute(selectTable = "base_dept", updateTable = "base_dept", identityProperty = "id")
@SuppressWarnings("serial")
public class CBaseDeptEntity extends Entity {
	// 编号
	private String id;		
	// 机构名称
	private String name;		
	// 上级机构id，一级机构为null
	private String parentId;		
	// 排序
	private Long orderNum;		
	// 创建人
	private String createUser;		
	// 创建时间
	private Date createTime;		
	// 更新人
	private String lastUpdateUser;		
	// 更新时间
	private Date lastUpdateTime;		
	// 是否删除  1：已删除  0：正常
	private Boolean isDel;		
	// 机构路径
	private String path;		
	
	public String getId(){
		return this.id;
	}
	public void setId(String id){
		this.id = id;
	}
	
	public String getName(){
		return this.name;
	}
	public void setName(String name){
		this.name = name;
	}
	
	public String getParentId(){
		return this.parentId;
	}
	public void setParentId(String parentId){
		this.parentId = parentId;
	}
	
	public Long getOrderNum(){
		return this.orderNum;
	}
	public void setOrderNum(Long orderNum){
		this.orderNum = orderNum;
	}
	
	public String getCreateUser(){
		return this.createUser;
	}
	public void setCreateUser(String createUser){
		this.createUser = createUser;
	}
	
	public Date getCreateTime(){
		return this.createTime;
	}
	public void setCreateTime(Date createTime){
		this.createTime = createTime;
	}
	
	public String getLastUpdateUser(){
		return this.lastUpdateUser;
	}
	public void setLastUpdateUser(String lastUpdateUser){
		this.lastUpdateUser = lastUpdateUser;
	}
	
	public Date getLastUpdateTime(){
		return this.lastUpdateTime;
	}
	public void setLastUpdateTime(Date lastUpdateTime){
		this.lastUpdateTime = lastUpdateTime;
	}
	
	public Boolean getIsDel(){
		return this.isDel;
	}
	public void setIsDel(Boolean isDel){
		this.isDel = isDel;
	}
	
	public String getPath(){
		return this.path;
	}
	public void setPath(String path){
		this.path = path;
	}
	
	
	public CBaseDeptEntity(){
	}
	
	@Override
    public String toString(){
    	return " CBaseDeptEntity ["
    	       +" id = " +id +" ,"
    	       +" name = " +name +" ,"
    	       +" parentId = " +parentId +" ,"
    	       +" orderNum = " +orderNum +" ,"
    	       +" createUser = " +createUser +" ,"
    	       +" createTime = " +createTime +" ,"
    	       +" lastUpdateUser = " +lastUpdateUser +" ,"
    	       +" lastUpdateTime = " +lastUpdateTime +" ,"
    	       +" isDel = " +isDel +" ,"
    	       +" path = " +path   
    	       +" ]";
    }
	
}